<?php


namespace app\admin\controller;


use app\common\model\Member;

class Sample extends AdminBase
{
    public function getList()
    {
        return $this::returnData([
                'total'    => 169,
                'per_page' => '10',
                'data'     => [
                    [
                        'id'          => '1', //用户ID
                        'account'     => 'naPb1836757263', //用户账号
                        'gender'      => 0, //性别（0：未知；1：男；2：女）
                        'mobilePhone' => '13703957387', //用户手机号码
                        'name'        => '刘邦', //用户姓名
                        'nickName'    => 'laozhang', //用户昵称
                        'level'       => 0, //用户等级
                        'status'      => 1 //用户状态
                    ],
                    [
                        'id'      => 'usr460138499442614272',
                        'account' => '123456d',
                        'gender'  => 2,

                        'mobilePhone' => '13708068294',
                        'name'        => '刘五',
                        'nickName'    => '五公公',
                        'level'       => 88,
                        'status'      => 0
                    ],
                    [
                        'id'          => 'usr460138499442614272',
                        'account'     => '123456d',
                        'gender'      => 2,
                        'mobilePhone' => '13708068294',
                        'name'        => '刘五',
                        'nickName'    => '五公公',
                        'level'       => 88,
                        'status'      => 1
                    ],
                    [
                        'id'          => 'usr460138499442614272',
                        'account'     => '123456d',
                        'gender'      => 1,
                        'mobilePhone' => '13708068294',
                        'name'        => '刘五',
                        'nickName'    => '五公公',
                        'level'       => 88,
                        'status'      => 0
                    ]
                ]
            ]
        );
    }
}
